// search.js
import axios from 'axios'
import { request } from '@/axios/request'

//病友圈的搜索
export function getSearchData(config: { currentPage: number; pageSize?: number; searchValue?: string }) {
  return request.get('/v1/list', { params: config })
}

//查询绑定银行卡信息
export const getfindUserBankCardByUserId = async () => {
    return await request.get("/api/health/user/verify/v1/findUserBankCardByUserId",{
        headers: {
          'Content-Type': 'application/x-www-form-urlencoded'
        }
      })
}